package DaEr_5_25;

import java.util.ArrayList;

public class MainRedList {
    public static void main(String[] args) {
        Manager manager = new Manager("群主",100);
        ArrayList<Integer> send = manager.send(79,3);
        System.out.println("send = " + send);
        manager.show();

        Member member1= new Member("成员1",3);
        Member member2= new Member("成员2",5);
        Member member3 = new Member("成员3",0);

        member1.recevie(send);
        //System.out.println("member1 = " + member1);
        member1.show();
        member2.recevie(send);
        //System.out.println("member2 = " + member2);
        member2.show();
        member3.recevie(send);
        //System.out.println("member3 = " + member3);
        member3.show();
    }
}
